package com.xxx.reggie;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@ServletComponentScan //扫描Web原生技术注解,例如 @WebServlet,@WebFilter,@WebListener
@MapperScan("com.xxx.reggie.mapper")
@SpringBootApplication
@Slf4j
@EnableCaching
public class ReggieTakeOutApplication {

	public static void main(String[] args) {
		SpringApplication.run(ReggieTakeOutApplication.class, args);
		log.info("项目运行成功");

	}


}
